Skip to content

Fix for Docker installation tutorial not working with DNF5 i.e. Fedora 40 onwards #22371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Angxddeep
Copy link

@Angxddeep Angxddeep commented Apr 4, 2025

Description

Current command

 sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

Which results on the following when using DNF5 (I'm using Fedora 41):

Unknown argument "--add-repo" for command "config-manager". Add "--help" for more information about the arguments.

This happens because DNF5 config-manager no longer utilizes the argument --add-repo, instead it uses addrepo. The following is the new correct syntax:

sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo

Closes #21543

@github-actions github-actions bot added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Apr 4, 2025
Copy link

netlify bot commented Apr 4, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit a3cad4c
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/687e2e47f442e00009ec3cb1
😎 Deploy Preview https://deploy-preview-22371--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Angxddeep Angxddeep changed the title Docker installation tutorial does not work with DNF5 Fix for Docker installation tutorial not working with DNF5 Apr 4, 2025
@Angxddeep Angxddeep changed the title Fix for Docker installation tutorial not working with DNF5 Fix for Docker installation tutorial not working with DNF5 i.e. Fedora 40 onwards Apr 22, 2025
@docker-robot
Copy link

docker-robot bot commented Jul 21, 2025

Thanks for the pull request. We'd like to make our product docs better, but haven’t been able to review all the suggestions.
As our docs have also diverged, we do not have the bandwidth to review and rebase old pull requests.

If the updates are still relevant, review our contribution guidelines and rebase your pull request against the latest version of the docs, then mark it as fresh with a /remove-lifecycle stale comment.
If not, this pull request will be closed in 30 days. This helps our maintainers focus on the active pull requests.

Prevent pull requests from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@Angxddeep Angxddeep requested a review from ArthurFlag as a code owner July 21, 2025 12:10
@Angxddeep
Copy link
Author

/remove-lifecycle stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/engine Issue affects Docker engine/daemon area/install Relates to installing a product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant